<h2 class="title title-bg">
	<%= image_tag "news-title.jpg" %>
</h2>
<div class="article-list">
	<% @news.each do |news| %>
		<dt>
			<%= link_to news.title, news_path(news, :category_id => (@category.nil? ? nil : @category.id)), :title => news.title  %>
			<em><%= news.created_at.strftime("%Y-%m-%d %H:%M") %></em>
		</dt>
		<dd>
			<p>
				<%= news.content.bbcode_to_html.gsub(%r{</?[^>]+?>}, '').scan(/./)[0, 180].join('')  %>
				&nbsp;&nbsp;
				<%= link_to "详细>>", news_path(news), :title => "查看详细"%>
			</p>
		</dd>
	<% end %>
</div>
